<?php

include 'init.php';

$admin = new Admin();
$admin->checkAdmin();

$entity = new EntityAdmin();
$data['entities'] = $entity->entitiesList();

$style = new ImageStyleAdmin();
$data['styles'] = $style->showStyles();

$tpl = new TemplateAdmin('image', $data);
$tpl->viewTemplate();
?>
